Discussion: Using IS to set DirectInput states


It is sometimes necessary to force a joystick input to a certain state, as a game may automatically configure itself depending on the inputs it "sees".

Suppose that you wish to use the joystick buttons as DirectInput buttons, but you also wish to assign keyboard-based game movements to the joystick axes. This causes the DirectInput axes to look like they don't exist to the game software. If this particular game doesn't "see" the joystick axes at startup, however, it defaults to keyboard play only, and never "looks" for joystick button presses. In this case, you can try to "trick" the game into "seeing" the DirectInput joystick axes:

X IS MID REM you can also try MIN and MAX
Y IS MID REM you can also try MIN and MAX


home